
    <link href="uploadify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript" src="jquery.uploadify.v2.1.4.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
      $('#file_upload').uploadify({
        'uploader'  : 'uploadify.swf',
        'script'    : '/save_file.php',
        'cancelImg' : 'cancel.png',
        'folder'    : '/uploadfiles',
        'auto'      : true,
        'multi'          : true,
        'removeCompleted' : false,
        'simUploadLimit' : 2,
        'height'      : 50,
        'width':120,
        'onAllComplete' : function(event,data) {
            alert(data.filesUploaded + ' files uploaded successfully!');
          },
      	'onComplete'  : function(event, ID, fileObj, response, data) {
              alert(response);
            }
      });
    });
    </script>
<body>    <input id="file_upload" name="file_upload" type="file" />

</body>